package com.ss.android.article.base.feature.detail2.a.a;

import android.view.View;

import com.ss.android.article.base.app.AppData;
import com.ss.android.common.download.DownloadShortInfo;

final class b implements View.OnClickListener {
    private final AppAdViewHolder a;

    b(AppAdViewHolder arg1) {
        this.a = arg1;
    }

    public final void onClick(View arg7) {
        DownloadShortInfo v3 = null;
        int v5 = 2;
        if (this.a.l != null) {
            if (AppData.getInstance().allowInsideDownloadManager()) {
                this.a.l.a(this.a.j, 1, this.a.m, this.a.n, v5);
            } else {
                this.a.l.a(this.a.j, 1, v3, null, v5);
            }
        }
    }
}

